From docker.elastic.co/elasticsearch/elasticsearch:6.2.4

############################################################
# install elasticsearch-sql plugin

# RUN yum update -y

# RUN curl -sL https://rpm.nodesource.com/setup | bash -

# RUN yum install -y nodejs npm

# RUN wget https://github.com/NLPchina/elasticsearch-sql/releases/download/5.4.1.0/es-sql-site-standalone.zip

# RUN unzip es-sql-site-standalone.zip -d es-sql-site-standalone

# RUN rm -f es-sql-site-standalone.zip

# RUN cd site-server

# RUN npm install express --save

RUN ./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/6.2.4.0/elasticsearch-sql-6.2.4.0.zip

############################################################
